示例#1
0
 private void codeBt_Click(object sender, EventArgs e)
 {
     SelectDlg dlg = new SelectDlg(2, this.tmpltComb.SelectedIndex, this.dlgxmlPath);
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         this.CodeBox.Text = dlg.Value;
     }
 }
示例#2
0
 private void trgBt_Click(object sender, EventArgs e)
 {
     SelectDlg dlg = new SelectDlg(3, -1, this.dlgxmlPath);
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         this.TargetRange.Text = dlg.Value;
     }
 }
示例#3
0
 private void typeBt_Click(object sender, EventArgs e)
 {
     SelectDlg dlg = new SelectDlg(0, this.tmpltComb.SelectedIndex, this.dlgxmlPath);
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         this.TypeBox.Text = dlg.Value;
         this.setViewState(dlg.getViewSetting());
     }
 }
示例#4
0
 private void propBt_Click(object sender, EventArgs e)
 {
     SelectDlg dlg = new SelectDlg(4, -1, this.dlgxmlPath);
     if (dlg.ShowDialog(this) == DialogResult.OK)
     {
         this.propBox.Text = dlg.Value;
     }
 }