コード例 #1
0
        public void Index0(ConversionForm form)
        {
            conversionForm = form;
            stringvalue    = conversionForm.SourceText;

            if (NullString())
            {
                return;
            }

            HexToIntConversion();
        }
コード例 #2
0
 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;
 }
コード例 #3
0
 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;
 }
コード例 #4
0
 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;
 }
コード例 #5
0
 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();
     }
 }
コード例 #6
0
 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;
 }
コード例 #7
0
 //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;
 }
コード例 #8
0
        //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;
        }