Beispiel #1
0
        private void ShowTextInputBox()
        {
            Manager.PauseForm();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, TextOptions))
            {
                inputBox.ShowDialog();
                Text = inputBox.InputText;
                OnConfigSave();
            }

            Manager.ResumeForm();
        }
Beispiel #2
0
        private void UpdateText()
        {
            Manager.PauseForm();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, Options))
            {
                inputBox.ShowDialog();
                Text = inputBox.InputText;
                ApplyShapeConfig();
            }

            Manager.ResumeForm();
        }
Beispiel #3
0
        private bool ShowTextInputBox()
        {
            bool result;

            Manager.PauseForm();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, TextOptions))
            {
                result = inputBox.ShowDialog() == DialogResult.OK;
                Text   = inputBox.InputText;
                OnConfigSave();
            }

            Manager.ResumeForm();

            return(result);
        }
Beispiel #4
0
        private bool ShowTextInputBox()
        {
            bool result;

            Manager.Form.Pause();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, TextOptions, SupportGradient))
            {
                result = inputBox.ShowDialog(Manager.Form) == DialogResult.OK;
                Text   = inputBox.InputText;
                OnConfigSave();
            }

            Manager.Form.Resume();

            return(result);
        }
Beispiel #5
0
        private void ShowTextInputBox()
        {
            Manager.PauseForm();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, TextOptions))
            {
                inputBox.ShowDialog();
                Text = inputBox.InputText;
                OnConfigSave();
            }

            Manager.ResumeForm();
        }
Beispiel #6
0
        private void UpdateText()
        {
            Manager.PauseForm();

            using (TextDrawingInputBox inputBox = new TextDrawingInputBox(Text, Options))
            {
                inputBox.ShowDialog();
                Text = inputBox.InputText;
                ApplyShapeConfig();
            }

            Manager.ResumeForm();
        }