Пример #1
0
        public static void ShowDialog(IWin32Window parent, string text)
        {
            ExportForm form = new ExportForm();

            form.textBox1.Text = text;
            form.ShowDialog(parent);
        }
Пример #2
0
 private void _exportButton_Click(object sender, EventArgs e)
 {
     ExportForm.ShowDialog(
         this,
         XmlProvider.WriteToString(
             FromSettings((ExplorerBarSettings)_propertyGrid.SelectedObject)
             )
         );
 }