Ejemplo n.º 1
0
        private void item_3_Click(object sender, System.EventArgs e)

        {
            GACPicker p = new GACPicker();

            if (p.ShowDialog() == DialogResult.OK)
            {
                AsmView asm = new AsmView();     //GetView(false);
                asm.MdiParent = this;
                asm.AddRoot(BaseNode.MakeNode(p.Assembly));
                asm.Show();
            }
        }
Ejemplo n.º 2
0
 private void item_2_Click(object sender, System.EventArgs e)
 {
     openFileDialog1.CheckFileExists = true;
     openFileDialog1.CheckPathExists = true;
     openFileDialog1.Filter          = "Exe files (*.exe)|*.exe|Dll files (*.dll)|*.dll|All files (*.*)|*.*";
     openFileDialog1.Multiselect     = false;
     openFileDialog1.ReadOnlyChecked = true;
     if (openFileDialog1.ShowDialog() == DialogResult.OK)
     {
         AsmView asm = new AsmView(); //GetView(false);
         asm.MdiParent = this;
         asm.AddRoot(BaseNode.MakeNode(openFileDialog1.FileName));
         asm.Show();
     }
 }
Ejemplo n.º 3
0
		private void item_3_Click(object sender, System.EventArgs e)

			{
				GACPicker p = new GACPicker();
				if (p.ShowDialog() == DialogResult.OK)
				{
                    AsmView asm = new AsmView(); //GetView(false);
                    asm.MdiParent = this;
					asm.AddRoot(BaseNode.MakeNode(p.Assembly));
                    asm.Show();
				}
			}
Ejemplo n.º 4
0
		private void item_2_Click(object sender, System.EventArgs e)
		{
			openFileDialog1.CheckFileExists= true;
			openFileDialog1.CheckPathExists = true;
			openFileDialog1.Filter ="Exe files (*.exe)|*.exe|Dll files (*.dll)|*.dll|All files (*.*)|*.*";
			openFileDialog1.Multiselect = false;
			openFileDialog1.ReadOnlyChecked = true;
			if (openFileDialog1.ShowDialog() == DialogResult.OK)
			{
                AsmView asm = new AsmView(); //GetView(false);
                asm.MdiParent = this;
				asm.AddRoot(BaseNode.MakeNode(openFileDialog1.FileName));
                asm.Show();
			}
		}