//-------------------------------------------------------------------------------
        void ButtonInputClick(object sender, EventArgs e)
        {
            string       stringValue;
            const string stringInputMsg = "Enter floating point number: ";
            DialogResult result         = FormInput.Show(this, out stringValue, IsValidInput,
                                                         stringInputMsg, Text, "",
                                                         new Size(Width, 0));

            if (result == DialogResult.OK)
            {
                m_lblMessage.Text = stringValue;
            }
        }
Beispiel #2
0
        private void btnDSSV_ItemClick(object sender, DevExpress.XtraBars.ItemClickEventArgs e)
        {
            Form inDSSV = this.CheckExists(typeof(FormInput));

            if (inDSSV != null)
            {
                inDSSV.Activate();
            }
            else
            {
                FormInput f = new FormInput();
                f.MdiParent = this;
                f.Show();
            }
        }
Beispiel #3
0
        private void buttonInput_Click(object sender, EventArgs e)
        {
            FormInput fInput = new FormInput();

            fInput.Show();
        }