示例#1
0
        public SaveCustumGridControl(SaveCustumGridComponent saveCustumGrid)
        {
            InitializeComponent();
            _saveCustumGrid = saveCustumGrid;

            fileNameTextBox.DataBindings.Add("Text", _saveCustumGrid, "SaveFileName", true,
                                             DataSourceUpdateMode.OnPropertyChanged);
        }
示例#2
0
 public void SetComponent(IApplicationComponent component)
 {
     _component = (SaveCustumGridComponent)component;
 }
        private void SaveGridToConfig_Click(object sender, EventArgs e)
        {
            var savegridComponent = new SaveCustumGridComponent(_component);

            ApplicationComponent.LaunchAsDialog(_component.DesktopWindow, savegridComponent, "������");
        }