コード例 #1
0
 public void newGroupButton_ItemClick(object sender, ItemClickEventArgs e)
 {
     var newGroup = new GroupsForm(this) { StartPosition = FormStartPosition.CenterParent, Text = @"Group [new]" };
     Properties.Settings.Default.formType = "new";
     Properties.Settings.Default.Save();
     newGroup.ShowDialog();
 }
コード例 #2
0
        public void groupEdit()
        {
            Properties.Settings.Default.formType = "edit";
            Properties.Settings.Default.groupNo = groupGrid2UC2.groupTL.FocusedNode.GetValue(groupGrid2UC2.groupTL.Columns.ColumnByName("colNum")).ToString().Substring(0, 5);
            Properties.Settings.Default.groupID = groupGrid2UC2.groupTL.FocusedNode.GetValue(groupGrid2UC2.groupTL.Columns.ColumnByName("colID")).ToString();

            Properties.Settings.Default.Save();
            var newGroup = new GroupsForm(this) { StartPosition = FormStartPosition.CenterParent, Text = @"Group [" + Properties.Settings.Default.groupNo + @"]" };
            newGroup.ShowDialog();
        }