Skip to content

Commit

Permalink
New updates
Browse files Browse the repository at this point in the history
  • Loading branch information
m0L3cuL3 committed Apr 24, 2021
1 parent 8e2bb56 commit 069ed07
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 40 deletions.
9 changes: 0 additions & 9 deletions Financial_System/Financial_System.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -239,12 +239,6 @@
<Compile Include="CustomUI\Textbox\Trans.cs" />
<Compile Include="Features\FinanceFunctions.cs" />
<Compile Include="Features\GetTotalResult.cs" />
<Compile Include="Forms\AddStudentWindow.cs">
<SubType>Form</SubType>
</Compile>
<Compile Include="Forms\AddStudentWindow.Designer.cs">
<DependentUpon>AddStudentWindow.cs</DependentUpon>
</Compile>
<Compile Include="Forms\AdminWindow.cs">
<SubType>Form</SubType>
</Compile>
Expand Down Expand Up @@ -383,9 +377,6 @@
<Compile Include="Properties\AssemblyInfo.cs" />
<Compile Include="Utils\UCHandler.cs" />
<Compile Include="Utils\UIHandler.cs" />
<EmbeddedResource Include="Forms\AddStudentWindow.resx">
<DependentUpon>AddStudentWindow.cs</DependentUpon>
</EmbeddedResource>
<EmbeddedResource Include="Forms\AdminWindow.resx">
<DependentUpon>AdminWindow.cs</DependentUpon>
</EmbeddedResource>
Expand Down
27 changes: 4 additions & 23 deletions Financial_System/UserControls/ToolsControl.Designer.cs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 0 additions & 7 deletions Financial_System/UserControls/ToolsControl.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,13 +23,6 @@ private async void ToolsControl_Load(object sender, System.EventArgs e)
await gtr.GetList(MonthComboBox, gb.MonthList);
}

// Add Student
private void AddStudButton_Click(object sender, System.EventArgs e)
{
AddStudentWindow asw = new AddStudentWindow();
asw.Show();
}

// Create Balance Sheet
private void BalSheetButton_Click(object sender, System.EventArgs e)
{
Expand Down
2 changes: 1 addition & 1 deletion Financial_System/Utils/SQLiteHandler.cs
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public int GetTotalTransByMonth(SQLiteConnection conn, string month, string year

while (read.Read())
{
result += (int)read.GetValue(read.GetOrdinal("amount"));
result += (int)read.GetValue(read.GetOrdinal("payment"));
}
return result;
}
Expand Down

0 comments on commit 069ed07

Please sign in to comment.