public void Index0(ConversionForm form) { conversionForm = form; stringvalue = conversionForm.SourceText; if (NullString()) { return; } HexToIntConversion(); }
private void Quit_Click(object sender, EventArgs e) { // no matter what i do i cant seem to force null the converter on exit. form.Close(); form.Dispose(); form = null; if (plugin.IsLoaded) { plugin.Unload(); } plugin = null; }
public AboutBox1(ConversionUtility_Plugin plugin, ConversionForm form) { InitializeComponent(); this.Text = String.Format("About {0}", AssemblyTitle); this.labelProductName.Text = AssemblyProduct; this.labelVersion.Text = String.Format("Version {0}", AssemblyVersion); this.labelCopyright.Text = AssemblyCopyright; this.labelCompanyName.Text = AssemblyCompany; this.textBoxDescription.Text = AssemblyDescription; this.plugin = plugin; this.form = form; about = this; }
public void StartConverter(object sender, EventArgs e) { if (conversionForm != null) { conversionForm.Close(); conversionForm = new ConversionForm(this); conversionForm.Show(); } else { conversionForm = new ConversionForm(this); conversionForm.Show(); } }
private void Quit_Click(object sender, EventArgs e) { // no matter what i do i cant seem to force null the converter on exit. form.Close(); form.Dispose(); form = null; if(plugin.IsLoaded) plugin.Unload(); plugin = null; }
//static public void Main() //{ // Application.Run(new ConversionForm()); //} //public ConversionForm() //{ // InitializeComponent(); // plugin = new ConversionUtility_Plugin(); //} public ConversionForm(ConversionUtility_Plugin cuPlugin) { InitializeComponent(); form = this; plugin = cuPlugin; }