Skip to content

Commit

Permalink
Merge pull request #3 from KusalPriyanka/master
Browse files Browse the repository at this point in the history
Get Changes
  • Loading branch information
AnjaniWelagedara authored Oct 1, 2020
2 parents 4bbdbde + aeae7b7 commit 148b575
Show file tree
Hide file tree
Showing 8 changed files with 312 additions and 273 deletions.
143 changes: 71 additions & 72 deletions TimeTable_App/Forms/SubForms/LecStatisticsSubForm.Designer.cs

Large diffs are not rendered by default.

3 changes: 1 addition & 2 deletions TimeTable_App/Forms/SubForms/LecStatisticsSubForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,14 @@ public partial class LecStatisticsSubForm : UserControl
private static LecStatisticsSubForm _instance;
private FormCtrl formCtrl;
private int buildingId = 0;

public LecStatisticsSubForm()
{
InitializeComponent();
formCtrl = new FormCtrl();
initForm();
}



private void initForm()
{

Expand Down
4 changes: 3 additions & 1 deletion TimeTable_App/Forms/SubForms/RoomsSubForm.cs
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,12 @@ private void initForm()
}

ActionResult TagsResult = formCtrl._getFormData(typeof(TagsModel), "Tags");
count = 1;
if (TagsResult.State)
{
List<TagsModel> tagsList = TagsResult.Data;
tagsList.ForEach(tag => comboTag.Items.Insert(tag.TagId, tag.Tag));
tagsList.ForEach(tag => comboTag.Items.Insert(count, tag.Tag));
++count;
}

comboBuilding.SelectedIndex = 0;
Expand Down
92 changes: 45 additions & 47 deletions TimeTable_App/Forms/SubForms/StuStatisticsSubForm.Designer.cs

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

Loading

0 comments on commit 148b575

Please sign in to comment.