public virtual void BindData(ScreenObjectGeneratorOptions options)
 {
     ignoreLabels.DataBindings.Add("Checked", options, CodePath.Get(CodePath.New <ScreenObjectGeneratorOptions>().IgnoreLabels), false,
                                   DataSourceUpdateMode.OnPropertyChanged);
     namespaceText.DataBindings.Add("Text", options, CodePath.Get(CodePath.New <ScreenObjectGeneratorOptions>().Namespace), false,
                                    DataSourceUpdateMode.OnPropertyChanged);
 }
예제 #2
0
        static TreeNodeClickedEvent()
        {
            CodePath.New <TreeNode>().Collapse();
            collapseEventName = CodePath.Last;

            CodePath.New <TreeNode>().Expand();
            expandEventName = CodePath.Last;
        }
예제 #3
0
        static ListViewEvent()
        {
            CodePath.New <ListView>().Select(0);
            select = CodePath.Last;

            CodePath.New <ListView>().TryUnSelectAll();
            tryUnSelectAll = CodePath.Last;
        }
예제 #4
0
        public virtual void BindData(Applications applicationsWithWindow)
        {
            applications.DataSource    = applicationsWithWindow;
            applications.DisplayMember = CodePath.Get(CodePath.New <Application>().Name);

            windows.DisplayMember    = CodePath.Get(CodePath.New <DummyWindow>().Title);
            windowTabs.DisplayMember = CodePath.Get(CodePath.New <Tab>().PrimaryIdentification);
        }
 public virtual void BindData(RecordingOptions recordingOptions)
 {
     core.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().Core), false,
                           DataSourceUpdateMode.OnPropertyChanged);
     screenRepository.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().ScreenRepository), false,
                                       DataSourceUpdateMode.OnPropertyChanged);
     bulkText.DataBindings.Add("Checked", recordingOptions, CodePath.Get(CodePath.New <RecordingOptions>().BulkText), false,
                               DataSourceUpdateMode.OnPropertyChanged);
 }
예제 #6
0
 static TabEvent()
 {
     CodePath.New <Tab>().SelectTabPage(null);
     action = CodePath.Last;
 }
 protected override string ActionName(EventOption eventOption)
 {
     CodePath.New <RadioButton>().Select();
     return(CodePath.Last);
 }
 static ListControlEvent()
 {
     CodePath.New <ComboBox>().Select(null);
     actionName = CodePath.Last;
 }
 static UIItemClickEvent()
 {
     CodePath.New <UIItem>().Click();
     actionName = CodePath.Last;
 }
 static TreeNodeSelectEvent()
 {
     CodePath.New <TreeNode>().Select();
     selectEventName = CodePath.Last;
 }
예제 #11
0
 static TextBoxEvent()
 {
     textAction = CodePath.Get(CodePath.New <TextBox>().Text);
     CodePath.New <TextBox>().BulkText = null;
     bulkTextAction = CodePath.Last;
 }