예제 #1
0
 // Token: 0x060006EF RID: 1775 RVA: 0x00038DB0 File Offset: 0x00036FB0
 private void RGLIST_MouseDoubleClick(object sender, MouseEventArgs e)
 {
     if (this.RGLIST.SelectedItems.Count != 0)
     {
         ListViewItem listViewItem = this.RGLIST.SelectedItems[0];
         FrmRegEdit   frmRegEdit   = new FrmRegEdit();
         frmRegEdit.Path                    = this.RGk.SelectedNode.FullPath + "\\";
         frmRegEdit.sk                      = this.sk;
         frmRegEdit.TextBox1.Text           = listViewItem.Text;
         frmRegEdit.ComboBox1.SelectedIndex = frmRegEdit.ComboBox1.Items.IndexOf(listViewItem.SubItems[1].Text);
         try
         {
             frmRegEdit.TextBox3.Text = listViewItem.SubItems[2].Text;
         }
         catch (Exception expr_BA)
         {
             ProjectData.SetProjectError(expr_BA);
             Exception projectError = expr_BA;
             ProjectData.SetProjectError(projectError);
             ProjectData.ClearProjectError();
             ProjectData.ClearProjectError();
         }
         frmRegEdit.Text = frmRegEdit.Path;
         frmRegEdit.TextBox1.ReadOnly = true;
         frmRegEdit.ShowDialog(this);
     }
 }
예제 #2
0
        // Token: 0x060006E9 RID: 1769 RVA: 0x00038C08 File Offset: 0x00036E08
        private void NewValueToolStripMenuItem_Click(object sender, EventArgs e)
        {
            FrmRegEdit frmRegEdit = new FrmRegEdit();

            frmRegEdit.Path                    = this.RGk.SelectedNode.FullPath + "\\";
            frmRegEdit.sk                      = this.sk;
            frmRegEdit.TextBox1.Text           = "Name";
            frmRegEdit.ComboBox1.SelectedIndex = frmRegEdit.ComboBox1.Items.IndexOf("String");
            frmRegEdit.TextBox3.Text           = "Value";
            frmRegEdit.Text                    = frmRegEdit.Path;
            frmRegEdit.ShowDialog(this);
        }